package com.rongke.model;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;

/**
 * @PopGoods
 * @人气推荐(pop_goods)
 * @version : Ver 1.0
 */
@TableName("pop_goods")
public class PopGoods implements Serializable {
	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	/**
	 * @备注:人气推荐id
	 * @字段:id BIGINT(19)
	 */
	@TableId(type = IdType.AUTO)
	private java.lang.Long id;

	@TableField(exist = false)
	private Goods goods;

	/**
	 * @备注:标题
	 * @字段:title VARCHAR(33)
	 */
	private java.lang.String title;


	/**
	 * @备注:
	 * @字段:goods_id TINYINT(3)
	 */
	private java.lang.Integer goodsId;
	/**
	 * @备注:是否首页显示 1是0否
	 * @字段:is_home int(4)
	 */
	private Integer isHome;
	/**
	 * @备注:产品线 0 蜜哆哆 1 蜜雅阁  2 品牌馆
	 * @字段:goods_type INT(10)
	 */
	private java.lang.Integer goodsType;
	public PopGoods(){
	}

	public PopGoods(
		java.lang.Long id
	){
		this.id = id;
	}



	public void setId(java.lang.Long id) {
		this.id = id;
	}

	public java.lang.Long getId() {
		return this.id;
	}


	public void setTitle(java.lang.String title) {
		this.title = title;
	}

	public java.lang.String getTitle() {
		return this.title;
	}

	public Goods getGoods() {
		return goods;
	}

	public void setGoods(Goods goods) {
		this.goods = goods;
	}

	public void setGoodsId(java.lang.Integer goodsId) {
		this.goodsId = goodsId;
	}

	public java.lang.Integer getGoodsId() {
		return this.goodsId;
	}

	public void setIsHome(Integer isHome){ this.isHome = isHome;}

	public Integer getIsHome(){ return this.isHome;}

	public Integer getGoodsType() {
		return goodsType;
	}

	public void setGoodsType(Integer goodsType) {
		this.goodsType = goodsType;
	}
}
